Total Complexity | 39 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 235 |
Lines of code | 130 |
Logical lines of code | 78 |
Comment lines | 76 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
show_signle_direct_checkout_button_shop() | 52 | 8 | 23 | |
display_buy_now_button() | 57 | 7 | 15 | |
direct_checkout_hooks_init() | 53 | 5 | 22 | |
set_cart_to_checkout_button_template() | 57 | 5 | 16 | |
set_template_path() | 62 | 3 | 11 | |
direct_checkout_product_tab() | 62 | 2 | 11 | |
show_direct_checkout_button_shop() | 65 | 2 | 10 | |
show_direct_checkout_button_product() | 75 | 2 | 5 | |
save_direct_checkout_data() | 70 | 2 | 6 | |
__construct() | 82 | 1 | 3 | |
should_display_buy_now_button() | 75 | 1 | 4 | |
direct_checkout_custom_data() | 76 | 1 | 4 |